﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="contactus.aspx.cs" Inherits="contactus" %>

<%@ Register Src="UserControl/MainTopMenu2.ascx" TagName="TopMenu2" TagPrefix="Main" %>
<%@ Register Src="UserControl/RightTeam.ascx" TagName="Team" TagPrefix="Right" %>
<%@ Register Src="UserControl/LeftContactus.ascx" TagName="LeftMenu" TagPrefix="Contactus" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <%--   <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>--%>
        
<div id="In-Down">  
  <div id="All-Table">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <main:TopMenu2 ID="topMenu2" runat="server" />
      <tr>
        <td colspan="2" valign="top" class="abc">
          <contactus:LeftMenu ID="leftMenu" runat="server" />
          <div id="Show-Table"> 
            <div class="Pon">首頁&gt;連絡銀河&gt;線上預約</div>
            <h1>線上預約</h1>
            <div id="Show-Down">
              <div id="case-pp"><img src="image/contactus.png" width="656" height="242" class="news-adv" /></div>
              <asp:Panel ID="PanelUI" runat="server">       
              <table border="0" cellpadding="0" cellspacing="10" class="Contactus-table">
                <tr>
                  <td width="60"><p>姓　　名</p></td>
                  <td colspan="2"><div class="contactus-order-down">
                    <asp:TextBox ID="txtCreateName" runat="server" CssClass="Contactus-order" size="30"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="請輸入姓名"
                  ControlToValidate="txtCreateName" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
                  </div></td>
                </tr>
                <tr>
                  <td>連絡電話</td>
                  <td colspan="2"><div class="contactus-order-down">                    
                    <asp:TextBox ID="txtPhone" runat="server" CssClass="Contactus-order"></asp:TextBox>
                  </div></td>
                </tr>
                <tr>
                  <td>E-mail</td>
                  <td colspan="2"><div class="contactus-order-down2">                    
                    <asp:TextBox ID="txtEMail" runat="server" CssClass="Contactus-order" size="55"></asp:TextBox>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="請輸入E-mail"
                  ControlToValidate="txtEmail" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ValidationGroup="Save" ErrorMessage="電子信箱格式不正確"
                  Display="None" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="txtEmail"></asp:RegularExpressionValidator>
                  </div></td>
                </tr>
                <tr>
                  <td>預約日期</td>
                  <td colspan="2"><div class="contactus-order-down3">
                      <asp:DropDownList ID="ddlMonth" runat="server" CssClass="Contactus-order">
                      </asp:DropDownList>
                      <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="請選擇月"
                  ControlToValidate="ddlMonth" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
                  </div>                    <div class="contactus-order-down3">
                    <asp:DropDownList ID="ddlDay" runat="server" CssClass="Contactus-order">
                      </asp:DropDownList>
                      <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="請選擇日"
                  ControlToValidate="ddlDay" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
                  </div></td>
                </tr>
                <tr>
                  <td>預約時段</td>
                  <td width="132" class="Contactus-txt">
                      <asp:RadioButtonList ID="rdoReservationPeriod" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Text="上午" Value="上午"></asp:ListItem>
                        <asp:ListItem Text="下午" Value="下午"></asp:ListItem>
                      </asp:RadioButtonList>
                      <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="請選擇預約時段"
                  ControlToValidate="rdoReservationPeriod" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
                  </td>
                  <td width="291" class="Contactus-txt">
                  <%--<div class="contactus-order-down3">
                    <select name="select3" class="Contactus-order" id="select3">
                      <option>請選擇日</option>
                    </select>
                  </div>--%>
                  </td>
                </tr>
                <tr>
                  <td>預約內容</td>
                  <td colspan="2">                    
                    <asp:TextBox ID="txtContent" runat="server" width="300px" rows="6" CssClass="Contactus-order" TextMode="MultiLine"></asp:TextBox>
                  <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="請輸入預約內容"
                  ControlToValidate="txtContent" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
                  </td>
                </tr>
                <tr>
                  <td>驗證碼</td>
                  <td colspan="2"><div class="contactus-order-down4">
                    <asp:TextBox ID="txtConfirmationCode" runat="server" CssClass="Contactus-order" size="5"></asp:TextBox>
                  <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="請輸入驗證碼"
                  ControlToValidate="txtConfirmationCode" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
                  </div>
                  <img id="safecode" src="admin/captcha/Handler.ashx" width="50" height="25" /></td>
                </tr>
                <tr>
                  <td>&nbsp;</td>
                  <td colspan="2" align="center">
                      <asp:ImageButton ID="btnSend" runat="server" onclick="btnSend_Click" ImageUrl="image/ok.png" Width="194" Height="35" ValidationGroup="Save"/></td>
                </tr>
              </table>
              </asp:Panel>
            </div>
          </div>
          <right:Team ID="rightTeam" runat="server" />
          </td>
       </tr>
    </table>
  </div>
</div>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="Save" 
        ShowMessageBox="True" ShowSummary="False"/>        
        <%--</ContentTemplate>
    </asp:UpdatePanel>--%>
</asp:Content>

